home *** CD-ROM | disk | FTP | other *** search
- #
- # define macros which work on Sun4
-
- .SUFFIXES : .cc
-
- CC=gcc -I/usr/local/lib/gcc-include
- CPLUSPLUS=g++ -I/usr/local/lib/g++-include
-
- # directory in which libraries are built (define it here if different
- # architecture means different directory), eg.
- #LIB_DIR = /u/eb/rensing/lib/sun4
-
- LIB_LIST = hippoXIV hippoX11
- DEBUGLIB_LIST = hippoX11.debug hippoXIV.debug
- UTIL_LIB=hippoX11
-
- LIB_INSTALLDIR = /usr/local/lib
-
- _CFLAGS = -Wall -Dsun4
- CFLAGS = -O $(_CFLAGS)
- CFLAGS_DEB = -g -DDEBUG $(_CFLAGS)
- CFLAGS_PROF = -pg -DPROFILE $(_CFLAGS)
- LDFLAGS = -L$(LIB_DIR) -l$(UTIL_LIB) -lm
-
- # LIBS for making hb2hippo...
- # hippo is picked up from LDFLAGS
- # gcc-gnulib is for C code compiled with gcc
- HB2HADD = -lpacklib /usr/local/lib/gcc-gnulib
-
- MAKECOM = $(MAKE) -$(MAKEFLAGS)
-
-
- # Rules
-
- .cc.a :
- $(CPLUSPLUS) $(CFLAGS) -c -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $(RMFLAGS) $%
-
- RANLIB = ranlib
- CP = cp
- MV = mv
-